package seatiger.tomcat.naming.resources;

import javax.naming.NamingEnumeration;
import javax.naming.directory.Attribute;
import javax.naming.directory.Attributes;

/**
 * 资源属性
 * 长度
 * 修改时间
 * 创建时间
 * 。。。。。。
 */
public class ResourceAttributes implements Attributes {

    protected long contentLength = -1L;

    /**
     * 资源最后的事件
     */
    protected long lastModified = -1;


    @Override
    public boolean isCaseIgnored() {
        return false;
    }

    @Override
    public int size() {
        return 0;
    }

    @Override
    public Attribute get(String attrID) {
        return null;
    }

    @Override
    public NamingEnumeration<? extends Attribute> getAll() {
        return null;
    }

    @Override
    public NamingEnumeration<String> getIDs() {
        return null;
    }

    @Override
    public Attribute put(String attrID, Object val) {
        return null;
    }

    @Override
    public Attribute put(Attribute attr) {
        return null;
    }

    @Override
    public Attribute remove(String attrID) {
        return null;
    }

    @Override
    public Object clone() {
        return null;
    }

    public long getContentLength(){
        return contentLength;
    }

    public long getLastModified() {
        return lastModified;
    }
}
